package cn.imnaer.service.rpc.enums;

/**
 * 朋友圈, 玩伴类型
 * Created by Administrator on 2015/5/8.
 */
public enum EnumFriendCircleType {

    TRAVEL_NOTE("TRAVEL_NOTE", "TRAVEL_NOTE"),
    SHARE_PHOTO("SHARE_PHOTO", "SHARE_PHOTO");

    private String title;
    private String value;

    private EnumFriendCircleType(String title, String value) {
        this.title = title;
        this.value = value;
    }


    /**
     * 解析值为当前枚举
     *
     * @param value
     * @return
     */
    public static EnumFriendCircleType parseValue(String value) {
    	
        return Enum.valueOf(EnumFriendCircleType.class, value.toUpperCase());
    }


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
